//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-04B
TN_Widget.CreateTable([['Whose Live Anyway?','Hoyt Sherman Place Theater','Des Moines, IA','Sunday','5/5/2024','7:30 PM','6071386','Whose-Live-Anyway--5-5-2024'],['Whose Live Anyway?','Hoyt Sherman Place Theater','Des Moines, IA','Monday','5/6/2024','7:30 PM','6144696','Whose-Live-Anyway--5-6-2024'],['John Crist','Hoyt Sherman Place Theater','Des Moines, IA','Saturday','5/18/2024','7:00 PM','6230941','John-Crist-5-18-2024'],['Motivate Dance Recital','Hoyt Sherman Place Theater','Des Moines, IA','Saturday','6/8/2024','10:00 AM','6371062','Motivate-Dance-Recital-6-8-2024'],['Motivate Dance Recital','Hoyt Sherman Place Theater','Des Moines, IA','Saturday','6/8/2024','2:00 PM','6371074','Motivate-Dance-Recital-6-8-2024'],['Motivate Dance Recital','Hoyt Sherman Place Theater','Des Moines, IA','Saturday','6/8/2024','6:00 PM','6371012','Motivate-Dance-Recital-6-8-2024'],['Samara Joy','Hoyt Sherman Place Theater','Des Moines, IA','Thursday','6/13/2024','7:30 PM','6298533','Samara-Joy-6-13-2024'],['Des Moines Storytellers Project','Hoyt Sherman Place Theater','Des Moines, IA','Tuesday','6/18/2024','7:00 PM','6216290','Des-Moines-Storytellers-Project-6-18-2024'],['Mat Kearney','Hoyt Sherman Place Theater','Des Moines, IA','Friday','6/28/2024','8:00 PM','6304535','Mat-Kearney-6-28-2024'],['Little Feat','Hoyt Sherman Place Theater','Des Moines, IA','Tuesday','7/2/2024','7:30 PM','6278477','Little-Feat-7-2-2024'],['Mike Campbell and The Dirty Knobs','Hoyt Sherman Place Theater','Des Moines, IA','Wednesday','7/3/2024','7:30 PM','6308313','Mike-Campbell-and-The-Dirty-Knobs-7-3-2024'],['Steve Earle','Hoyt Sherman Place Theater','Des Moines, IA','Wednesday','7/31/2024','7:30 PM','6357793','Steve-Earle-7-31-2024'],['Ben Folds','Hoyt Sherman Place Theater','Des Moines, IA','Sunday','8/11/2024','7:30 PM','6359246','Ben-Folds-8-11-2024'],['Graham Nash','Hoyt Sherman Place Theater','Des Moines, IA','Tuesday','8/13/2024','7:30 PM','6281638','Graham-Nash-8-13-2024'],['Justin Willman','Hoyt Sherman Place Theater','Des Moines, IA','Sunday','9/8/2024','7:00 PM','6374860','Justin-Willman-9-8-2024'],['Nitty Gritty Dirt Band','Hoyt Sherman Place Theater','Des Moines, IA','Friday','9/13/2024','7:30 PM','6386732','Nitty-Gritty-Dirt-Band-9-13-2024'],['Robin Trower','Hoyt Sherman Place Theater','Des Moines, IA','Saturday','9/14/2024','8:00 PM','6381376','Robin-Trower-9-14-2024'],['Intocable','Hoyt Sherman Place Theater','Des Moines, IA','Wednesday','9/25/2024','8:00 PM','6262748','Intocable-9-25-2024'],['Cowboy Junkies','Hoyt Sherman Place Theater','Des Moines, IA','Thursday','10/3/2024','7:30 PM','6400604','Cowboy-Junkies-10-3-2024'],['Celtic Thunder','Hoyt Sherman Place Theater','Des Moines, IA','Saturday','10/5/2024','7:30 PM','6325584','Celtic-Thunder-10-5-2024'],['Becky Robinson','Hoyt Sherman Place Theater','Des Moines, IA','Sunday','10/6/2024','7:00 PM','6389885','Becky-Robinson-10-6-2024'],['Leonid & Friends - A Tribute To Chicago','Hoyt Sherman Place Theater','Des Moines, IA','Thursday','10/10/2024','7:30 PM','6377183','Leonid---Friends---A-Tribute-To-Chicago-10-10-2024'],['Des Moines Storytellers Project','Hoyt Sherman Place Theater','Des Moines, IA','Tuesday','10/22/2024','7:00 PM','6216291','Des-Moines-Storytellers-Project-10-22-2024'],['Brad Williams','Hoyt Sherman Place Theater','Des Moines, IA','Friday','10/25/2024','7:00 PM','6318760','Brad-Williams-10-25-2024'],['Brad Williams','Hoyt Sherman Place Theater','Des Moines, IA','Friday','10/25/2024','10:30 PM','6359050','Brad-Williams-10-25-2024'],['Nikki Glaser','Hoyt Sherman Place Theater','Des Moines, IA','Saturday','11/9/2024','7:00 PM','6414094','Nikki-Glaser-11-9-2024'],['Black Jacket Symphony: Elton John's Madman Across the Water','Hoyt Sherman Place Theater','Des Moines, IA','Friday','11/15/2024','8:00 PM','6335509','Black-Jacket-Symphony--Elton-John-s-Madman-Across-the-Water-11-15-2024'],['Jim Brickman','Hoyt Sherman Place Theater','Des Moines, IA','Saturday','11/16/2024','7:30 PM','6408715','Jim-Brickman-11-16-2024'],['Dusty Slay','Hoyt Sherman Place Theater','Des Moines, IA','Friday','11/22/2024','7:00 PM','6331661','Dusty-Slay-11-22-2024'],['The Liverpool Legends - Beatles Tribute','Hoyt Sherman Place Theater','Des Moines, IA','Saturday','11/23/2024','8:00 PM','6377479','The-Liverpool-Legends---Beatles-Tribute-11-23-2024'],['Glenn Miller Orchestra','Hoyt Sherman Place Theater','Des Moines, IA','Sunday','12/22/2024','7:00 PM','6384203','Glenn-Miller-Orchestra-12-22-2024'],['Marc Maron','Hoyt Sherman Place Theater','Des Moines, IA','Friday','2/14/2025','8:00 PM','6319144','Marc-Maron-2-14-2025']],'Hoyt Sherman Auditorium','http://www.ticketnetwork.com/ticket/Hoyt-Sherman-Auditorium-events.aspx');